<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<h3>小黑水果店</h3>
			<ul>
				<li v-for="(item,index) in list">
					{{item}} - {{index}}
				</li>
			</ul>
		</div>
		
		<script src="js/vue.js"></script>
		<script>
			const app = new Vue({
				el:'#app',
				data:{
					list:['西瓜','苹果','草莓']
				}
			})
		</script>
	</body>
</html>